# -*- mode: Awk; -*-  vim: set filetype=awk : 

basename

Return the basename of a path.

Example
=======

(KNIT programmers can  run this example using _cd quill; make eg11_.)

Code
====

 function basename(path,  n,tmp) {
    n = split(path,tmp,/\//)
    return tmp[n]
 }

Author
======

Tim Menzies
